﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using COM.Web;

namespace SampleApp.Web.Default.Controllers
{
    public class TimerCallbackController : Controller
    {
        public ActionResult MinScheduleItem()
        {
            return null;
        }

        public ActionResult Min5ScheduleItem()
        {
            //每隔5分钟刷新缓存
            var dataCacheService = Unity.Instance.GetService<SampleApp.Service.IDataCacheService>();
            dataCacheService.Reload();
            return null;
        }

        public ActionResult HoureScheduleItem()
        {
            return null;
        }

        public ActionResult TestTimeScheduleItem()
        {
            return null;
        }

    }
}
